14423470ac11a06e152225bfdc05ec48f2e4a7a9,com/gamingmesh/jobs/PlayerManager.java,PlayerManager,getFinalBonus,#JobsPlayer#Job#Entity#LivingEntity#boolean#boolean#,753
Before Change
if (ent != null && ent instanceof Tameable) {
Tameable t = (Tameable) ent;
if (t.isTamed() && t.getOwner() instanceof Player) {
boost.add(BoostOf.PetPay, new BoostMultiplier().add(Jobs.getPermissionManager().getMaxPermission(player, "jobs.petpay")));
}
}
if (victim != null && victim.hasMetadata(this.getMobSpawnerMetadata())) {
boost.add(BoostOf.NearSpawner, new BoostMultiplier().add(Jobs.getPermissionManager().getMaxPermission(player, "jobs.nearspawner")));
}
if (getall) {
After Change
if (ent != null && ent instanceof Tameable) {
Tameable t = (Tameable) ent;
if (t.isTamed() && t.getOwner() instanceof Player) {
Double amount = Jobs.getPermissionManager().getMaxPermission(player, "jobs.petpay");
if (amount != null)
boost.add(BoostOf.PetPay, new BoostMultiplier().add(amount));
}
}
if (victim != null && victim.hasMetadata(this.getMobSpawnerMetadata())) {
Double amount = Jobs.getPermissionManager().getMaxPermission(player, "jobs.nearspawner");
if (amount != null)
boost.add(BoostOf.NearSpawner, new BoostMultiplier().add(amount));
}
if (getall) {